<html>
<head>
<title>SQLToNeo - First steps</title>
<style type="text/css">
<!--
.norm {
 font-family: Arial;
 font-size: 12px;
}
-->
</style>
</head>
<body class=norm>
<table width=640 border=0 cellpadding=2 cellspacing=2>
<tr><td class=norm>
<p><b>SQLToNeo version 2.0.3</b></p>
<p><b>First steps to SQLToNeo version 2.0.3</b></p>
<ol>
 <li>Open SQLToNeo</li>
 <li>Set field server to your databaseserver (by name or by ip)</li>
 <li>Decide with which type of authentication you would connect to the given databaseserver
 <ol>
  <li>If you have an sql account? Enter your username and your password</li>
  <li>If you can connect your server via nt-authentication? Mark the nt-authentication checkbox.</li>
 </ol>
 </li>
 <li>Hit the "Load Databases" button to load all existing databases into the combobox "Databases".</li>
 <li>Select the database from the combobox for which you want to build the model. SQLToNeo will analyze
     the database immediately and show you all tables, columns, foreignkeys and iforeignkeys in the
     corresponding datagrids.</li>
 <li>Because of the fact that's the first time SQLToNeo analyzed this database all datagrid columns named
     "name" are set to null. No you have the following possibilities:
 <ol>
  <li>Set the name columns to the names you want to have later as propertie names for your objects in
      your object model.
      <font color="#FF0000">If you didn't set the names SQLToNeo will use the javaname!</font></li>
  <li>Set all tables, columns, foreignkeys and iforeignkeys which shouldn't be build in the model file
      create to false. If you set e.g. table a create = false than also no columns of that will be build.</li>
  <li>Set all columns which should be hide later in the object model to hidden = true.</li>
 </ol>
 </li>
 <li>Fill in the neo specific textboxes:
 <ol>
  <li>Model & and path file: The path where to build the model and the name of the model file.
      e.G. D:\projects\tests\neocustomer\model\model.xml .</li>
  <li>Neo path: The relative path to neo from the view of the model. e.g. ..\resources\ </li>
  <li>Norque.dtd path: The relative path to norque.dtd from the view of the model. e.g. \resources\norque.dtd</li>
  <li>Package: The package name for the object model. e.g. NeoCustomer.Model</li>
  <li>Database name: The name for your model. e.g. NeoCustomer</li>
  <li>Id method: Choose  the id method which you use as primary keys. e.g. if you use guid in your
      tables as primary key types than choose guid from the combobox.</li>
 </ol>
  </li>
  <li>Before you hit the "Generate model" button, you can check the model, that will be build, for possible
      conflicts. If you didn't want that just hit "Generate model" button let SQLToNeo create the modelfile
      for you.<br><br>
      <b>Notice:</b> SQLToNeo will not only create the modelfile, it also saves your changes you maybe did e.g.
      to the names, create, hidden, etc. The next time you open this database again SQLToNeo will
      do a "special merge", so that you didn't have to do things twice :)<br><br>
      <b>At least:</b> <font color="#FF0000">Do not</font> change the the xml model file manually. These changes will be lost the
      next time you create the xml model again!
  </li>
</ol>

<p>
If somebody have still
a problem use this <a href="http://sourceforge.net/forum/forum.php?forum_id=405577">forum</a> or
send me an email.
</p>
<p>
Autor: Lars Behrmann 11/30/2004, SQLToNeo homepage : <a href="http://sqltoneo.sourceforge.net/">http://sqltoneo.sourceforge.net/</a>
</p>
</td></tr></table>
</body>
</html>